package com.yxc.plan.wolf.domain;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * @Description :
 * @Author : abc@vanke.com
 * @Date : 2018/12/11 4:27 PM
 */
@Entity
@Table(name = "t_tweets")
public class Tweet extends BaseEntity {
    private Long projectId;
    private Long userId;
    private String detail;
    private String mainImage;
    private String videoUrl;
    private String subImages;
    @Transient
    private User user;

    @Transient
    private List<String> subImagesList;
    private Long praiseCount;
    private Long commentCount;
    private Boolean tweetType;

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getDetail() {
        return detail;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getSubImages() {
        return subImages;
    }

    public void setSubImages(String subImages) {
        this.subImages = subImages;
    }

    public List<String> getSubImagesList() {
        return subImagesList;
    }

    public void setSubImagesList(List<String> subImagesList) {
        this.subImagesList = subImagesList;
    }

    public Long getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Long praiseCount) {
        this.praiseCount = praiseCount;
    }

    public Long getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Long commentCount) {
        this.commentCount = commentCount;
    }

    public Boolean getTweetType() {
        return tweetType;
    }

    public void setTweetType(Boolean tweetType) {
        this.tweetType = tweetType;
    }
}
